<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://context.core.datamodel.fs.documentum.emc.com/" xmlns:dfs-dm-core-content="http://content.core.datamodel.fs.documentum.emc.com/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:dfs-dm-core-profiles="http://profiles.core.datamodel.fs.documentum.emc.com/" xmlns:dfs-dm-core-properties="http://properties.core.datamodel.fs.documentum.emc.com/" xmlns:dfs-dm-core-context="http://context.core.datamodel.fs.documentum.emc.com/" elementFormDefault="qualified" targetNamespace="http://context.core.datamodel.fs.documentum.emc.com/" version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://dtordam01:9080/services/core/runtime/ContextRegistryService?xsd=4" namespace="http://profiles.core.datamodel.fs.documentum.emc.com/" />
  <xs:import schemaLocation="http://dtordam01:9080/services/core/runtime/ContextRegistryService?xsd=3" namespace="http://properties.core.datamodel.fs.documentum.emc.com/" />
  <xs:element name="ServiceContext" type="dfs-dm-core-context:ServiceContext" />
  <xs:complexType name="ServiceContext">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Identities" type="dfs-dm-core-context:Identity" />
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Profiles" type="dfs-dm-core-profiles:Profile" />
      <xs:element minOccurs="0" name="RuntimeProperties" type="dfs-dm-core-properties:PropertySet" />
    </xs:sequence>
    <xs:attribute name="token" type="xs:string" />
    <xs:attribute name="locale" type="xs:string" />
  </xs:complexType>
  <xs:complexType name="Identity" abstract="true">
    <xs:sequence />
  </xs:complexType>
  <xs:complexType name="BasicIdentity">
    <xs:complexContent mixed="false">
      <xs:extension base="dfs-dm-core-context:Identity">
        <xs:sequence />
        <xs:attribute name="userName" type="xs:string" />
        <xs:attribute name="password" type="xs:string" />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="SsoIdentity">
    <xs:complexContent mixed="false">
      <xs:extension base="dfs-dm-core-context:BasicIdentity">
        <xs:sequence />
        <xs:attribute name="ssoType" type="xs:string" />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:complexType name="RepositoryIdentity">
    <xs:complexContent mixed="false">
      <xs:extension base="dfs-dm-core-context:BasicIdentity">
        <xs:sequence />
        <xs:attribute name="repositoryName" type="xs:string" />
        <xs:attribute name="domain" type="xs:string" />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
</xs:schema>